def display_menu():
    '''Display menu options'''
    print("\n======= Pokémon =======")
    print("1.Display your Pokémon")
    print("2.Create a Pokémon")
    print("3.Release a Pokémon ")
    print("4.QUIT")
    print("=======================\n")

def get_number_input(prompt):
    '''Get numeric input'''
    while True:
        try:
            num = input(prompt)
            return num
        except ValueError:
            print("❌ Invalid input, please enter a number!")


if __name__ == "__main__":
    display_menu()
    choice = get_number_input("Please select an option(1-5): ")
    print(f"You selected the option {choice}")